package com.EventWithParams
{
	// Import class
	import flash.events.Event;
	// EventType
	public class EventWithParams extends Event {
		// Properties
  		public var arg:*;
  		// Constructor
  		public function EventWithParams(type:String, bubbles:Boolean = false, cancelable:Boolean = false, ... a:*) {
   			super(type, bubbles, cancelable);
   			arg = a;
   		}
		// Override clone
		override public function clone():Event{
			return new EventWithParams(type, bubbles, cancelable, arg);
		};
	}
}